#ifndef __GUI_Formatted_String_Event_Args__
#define __GUI_Formatted_String_Event_Args__

#include "GUIUnit.h"
#include "Event/GUIInputEvents.h"

namespace YGUI
{
    class FormattedString;
    class FormattedStringComponent;

    class FmtStrMouseEventArgs : public MouseEventArgs
    {
    public:
        FmtStrMouseEventArgs(const FormattedString* fmt_str) : 
          MouseEventArgs(0), 
          FmtStr(fmt_str) 
        { }

    public:
        const FormattedString* FmtStr;
    };

    class FmtComponentEventArgs : public MouseEventArgs
    {
    public:
        FmtComponentEventArgs(const FormattedStringComponent* component) : 
          MouseEventArgs(0),
          StringComponent(component) 
          { }
    public:
        const FormattedStringComponent* StringComponent;
    };
}

#endif